package com.zyh.annotation.demo3;

import java.lang.annotation.*;

/**
 * @Author zyh
 * @Date 2024/8/15 9:46
 * @Description
 */

public class AnnotationDemo3 {
}
@Fish
class Fu{

}
class Zi extends Fu{

}


@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@interface Fish{

}
